home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / g / gnu_c / incl98.zoo / times.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-10  |  446 b   |  34 lines

  1. /* structure for the times() system call */
  2.  
  3. #ifndef _TIMES_H
  4. #define _TIMES_H
  5.  
  6. #ifndef _COMPILER_H
  7. #include <compiler.h>
  8. #endif
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. #ifndef _TIME_T
  15. #define _TIME_T long
  16. typedef _TIME_T    time_t;
  17. #endif /* _TIME_T */
  18.  
  19. struct tms {
  20.     time_t    tms_utime;
  21.     time_t    tms_stime;
  22.     time_t    tms_cutime;
  23.     time_t    tms_cstime;
  24. };
  25.  
  26.  
  27. __EXTERN long    times    __PROTO((struct tms *));
  28.  
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32.  
  33. #endif /* _TIMES_H */
  34.